/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package servant;

/**
 *
 * @author Mateusz
 */
public class Config {

    private boolean testReady = false;
    private String testClassPath = null;
    private static Config instance = null;

    private Config() {
    }

    public static Config getInstance() {
        if (instance == null) {
            instance = new Config();
        }
        return instance;
    }

    public String getTestClassPath() {
        return testClassPath;
    }

    public void setTestClassPath(String testClassPath) {
        this.testClassPath = testClassPath;
    }

    public boolean isTestReady() {
        return testReady && (testClassPath != null);
    }

    public void setTestReady(boolean testReady) {
        this.testReady = testReady;
    }
}
